package cn.bluedot.tea.pojo.vo;

import cn.bluedot.tea.util.DateUtil;

public class BackupRecordVO {

	private Integer dataBackupId;
	private String backupType;
	private String backupTime;
	private Integer backupUserid;
	private String backupDataPath;
	private String backupDataSize;

	public BackupRecordVO() {
		super();
	}

	public BackupRecordVO(String backupType, Integer backupUserid, String backupDataPath, Long backupDataSize) {
		super();
		this.backupType = backupType;
		this.backupTime = DateUtil.getDateTime();
		this.backupUserid = backupUserid;
		this.backupDataPath = backupDataPath;
		this.backupDataSize = backupDataSize / 1000 + "kb";
	}

	public Integer getDataBackupId() {
		return dataBackupId;
	}

	public void setDataBackupId(Integer dataBackupId) {
		this.dataBackupId = dataBackupId;
	}

	public String getbackupType() {
		return backupType;
	}

	public void setbackupType(String backupType) {
		this.backupType = backupType;
	}

	public String getbackupTime() {
		return backupTime;
	}

	public void setbackupTime(String backupTime) {
		this.backupTime = backupTime;
	}

	public Integer getBackupUserid() {
		return backupUserid;
	}

	public void setBackupUserid(Integer backupUserid) {
		this.backupUserid = backupUserid;
	}

	public String getBackupDataPath() {
		return backupDataPath;
	}

	public void setBackupDataPath(String backupDataPath) {
		this.backupDataPath = backupDataPath;
	}

	public String getBackupDataSize() {
		return backupDataSize;
	}

	public void setBackupDataSize(String backupDataSize) {
		this.backupDataSize = backupDataSize;
	}

	@Override
	public String toString() {
		return "BackupRecordVO [dataBackupId=" + dataBackupId + ", backupType=" + backupType + ", backupTime="
				+ backupTime + ", backupUserid=" + backupUserid + ", backupDataPath=" + backupDataPath
				+ ", backupDataSize=" + backupDataSize + "]";
	}
}
